<p id="notice"><%= raw @notice %></p>
<% unless @errors.nil? %>
    <h1>Listing wrong products</h1>

    <% @errors.each do |mgs| %>
        <p>Product id: <%= mgs[0]%> message: <%= mgs[1] %> </p>
    <% end %>
<% end %>